{% extends "../public/base.html" %}
{% block mbody %}
<div class="top mr">
    <div class="m-left"><img src="/static/image/cd_icon.png" style="width:80%;margin-top: 10px;" ></div>
    <h1>历史订购</h1>
    <div class="m-right"></div>
</div>
<div class="mbody mr" id="mbody">
    <div class="item">
        <div class="i-title">
            <div class="i-title-item">菜单1</div>
            <div class="i-title-item">菜单3</div>
        </div>
        {% for i in data %}
            <div class="i-ul">
                <!-- <div class="i-ul-img left"><img src="/static/image/cat.jpg"></div> -->
                <div class="i-ul-body left">
                    <div class="i-ul-title">{{ i.get('Fname', '') }}</div>
                    <div class="i-ul-text">{{ i.get('Ftext', '') }}</div>
                </div>
            </div>
        {% end %}
        <div class='after' page="3">加载中......</div>
    </div>
</div>
<!-- <div class="bottom mr">
    
</div> -->
<div class="palert" id="aAlert"><img src="image/loading.gif">加载中……</div>
<div class="palert" id="talert"><img src="image/loading.gif">
    test
    <input type="button" onclick="palert.close('#talert')" value="关闭">
</div>
{% end %}
{% block script %}
<script type="text/javascript">
$(document).ready(function(){
    ScrollItem.bind("/user/food/clist?page=")
})
</script>
{% end %}